<template>
  <div class="flex app">
    <section class="app-body">
      <span>
        <keep-alive :include="'msbd'">
          <router-view></router-view>
        </keep-alive>
      </span>
    </section>
    <footer class="app-footer">
      <ul class="flex">
        <router-link exact active-class="active" to="/" tag="li">
          <i class="iconfont iconhome"></i>
          首页</router-link
        >
        <router-link active-class="active" to="/msbd" tag="li">
          <i class="iconfont iconexplain"></i>
          宝典</router-link
        >
        <router-link active-class="active" to="/exam" tag="li">
          <i class="iconfont iconelectronics"></i>
          考试</router-link
        >
        <router-link active-class="active" to="/setting" tag="li">
          <i class="iconfont iconsetting"></i>
          设置</router-link
        >
      </ul>
    </footer>
  </div>
</template>

<script>
import "../assets/icon/iconfont.css";
export default {
  data() {
    return {};
  },
  methods: {},
};
</script>

<style scoped>
</style>